package com.ambitor.grass.sql.statement;

import java.sql.ResultSet;

public interface DefaultOperation {

	//执行查询语句
	ResultSet executeQuery() throws Exception;

	//执行更新语句
	int executeUpdate() throws Exception;

	//执行insert语句且返回自增的主键
	String executeInsertAndReturnLastInsertId() throws Exception;
}
